package com.hucheng.seckill.mapper;

import com.hucheng.seckill.dto.SeckillOrderDTO;
import com.hucheng.seckill.entity.SeckillOrderDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: 凉白开不加冰
 * @Version: 0.0.1V
 * @Date: 2019-07-01
 * @Description: 类描述
 **/
@Mapper
public interface SeckillOrderMapper {
    Integer insert(SeckillOrderDO seckillOrderDO);

    SeckillOrderDO getUserSeckillOrderByUserId(@Param("userId") Integer userId, @Param("goodsId") Integer goodsId);
}
